$(document).ready(function(){
    var options = {
        nextButton: true,
        prevButton: true,
        preloader: true,
        navigationSkipThreshold: 1000,
        fadeFrameWhenSkipped: false
    };

    var sequence = $("#sequence");
    if (!!sequence) {
        sequence.sequence(options).data("sequence");

        sequence.afterLoaded = function() {
            $(".prev, .next").fadeIn(500);
        };
    }
});